package com.xzx.car_accessories.dao;

import com.xzx.car_accessories.domain.CarAccessory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: geeshaw
 * @date: 2021/8/1 15:37
 * @email: shaw@bupt.edu.cn
 * @desc:
 **/

@Repository
public interface CarAccessoryDao {

    public int add_accessory(@Param("caraccessory") CarAccessory caraccessory);
    public List<CarAccessory> get_all_accessories();

}
